package com.mccken.annotation.logoperator.context;

import java.util.Map;
import java.util.Stack;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2022-01-04 16:45
 **/
public class LogRecordContext {
	
	private static final InheritableThreadLocal<Stack<Map<String, Object>>> variableMapStack = new InheritableThreadLocal<>();
	
	public static void putEmptySpan() {
		
	}

	public static void clear() {
		
	}
	
	public static Map<String, Object> getVariables () {
		return variableMapStack.get().pop();
	} 
}
